<?php
/**
 * 订餐星期关系model
 */
class RestaurantstyyWeekRelationModel extends BaseModel{
	protected $tableName='restaurantstyy_week_relation';
	protected  $_link = array(
		'RestaurantGoods' => array(
			'mapping_type' => BELONGS_TO,
			'class_name' => 'RestaurantstyyGoods',
			'foreign_key' => 'goods_id',
			'mapping_fields' => 'goods_name,price',
			'as_fields' => 'goods_name,price',
		),
	);
}